using System;
using System.Collections.Generic;
using System.Text;

namespace Instedd.Labs.Geo.Library.Kml
{
    public class Placemark
    {
        public Placemark(string name, string description, LatLong location, DateTime timestamp)
        {
            this.name = name;
            this.description = description;
            this.location = location;
            this.timestamp = timestamp;

            this.lookAt = new LookAt(location, 5000);
        }

        private string name;

        public string Name
        {
            get { return name; }
        }

        private string description;

        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        private LatLong location;

        public LatLong Location
        {
            get { return location; }
        }

        private string styleUrl;

        public string StyleUrl
        {
            get { return styleUrl; }
            set { styleUrl = value; }
        }

        private LookAt lookAt;

        public LookAt LookAt
        {
            get { return lookAt; }
            set { lookAt = value; }
        }

        private DateTime timestamp;

        public DateTime Timestamp
        {
            get { return timestamp; }
            set { timestamp = value; }
        }
    }
}
